<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<link href="${ctx}/tree/css/xtree2.css" rel="stylesheet"
			type="text/css" />
		<script type="text/javascript" src="${ctx}/tree/scripts/xtree2.js"></script>
		<script type="text/javascript" src="${ctx}/tree/scripts/png.js"></script>
		<script type="text/javascript" src="${ctx}/tree/scripts/xloadtree2.js"></script>
		<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css" />
		<link href="${ctx}/css/main/main.css" rel="stylesheet" type="text/css" />
		<script language="JavaScript" src="../scripts/main/menu_dd.js"></script>
		<script>
webFXTreeConfig.rootIcon		= "${ctx}/images/admin/department/department.gif";
webFXTreeConfig.openRootIcon	= "${ctx}/images/admin/department/department.gif";
webFXTreeConfig.folderIcon		= "${ctx}/tree/images/xp/folder.png";
webFXTreeConfig.openFolderIcon	= "${ctx}/tree/images/xp/openfolder.png";
webFXTreeConfig.fileIcon		= "${ctx}/tree/images/xp/file.png";
webFXTreeConfig.lMinusIcon		= "${ctx}/tree/images/xp/Lminus.png";
webFXTreeConfig.lPlusIcon		= "${ctx}/tree/images/xp/Lplus.png";
webFXTreeConfig.tMinusIcon		= "${ctx}/tree/images/xp/Tminus.png";
webFXTreeConfig.tPlusIcon		= "${ctx}/tree/images/xp/Tplus.png";
webFXTreeConfig.iIcon			= "${ctx}/tree/images/xp/I.png";
webFXTreeConfig.lIcon			= "${ctx}/tree/images/xp/L.png";
webFXTreeConfig.tIcon			= "${ctx}/tree/images/xp/T.png";


var tree=new WebFXTree("用户管理");//根结点

//var role_token = "${session.role_token}";
</script>
	</head>
	<body style="margin-left:6px;">
<table class="div_t2 zd_l3" width="97%" style="margin:0;">
			<tr class="bg1">
				<td height="30" class="font14">
					在职人员				</td>
			</tr>
			<tr>
				<td>
				<div style="margin-left:0px;">
					<script>
       				var groupTree = new WebFXLoadTreeItem("${unit.unitName}","${ctx}/user/user_userDepartTree.action?department.deptParent=0","","","${ctx}/images/main/depart.gif","${ctx}/images/main/depart.gif");
					tree.add(groupTree);					
					</script>

					<script type="text/javascript">
					tree.setShowRootNode(false);//不显示根结点
					tree.write();
					tree.expandAll();
					</script>
					</div>
				</td>
			</tr>
			<tr class="bg1">
				<td height="30" class="font14">
					无部门人员				</td>
			</tr>
			<s:iterator value="users" status="user">
			<tr>
			 <td >
			 <div class="mod3">
			 <a href="${ctx}/user/user_preModifyUser.action?user.userId=${userId}" target="mright" class="font12">${userName}</a>
			 </div>
			  </td>
			</tr>
			</s:iterator>
			</table>
	</body>
</html>
